<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://java.sun.com/jsf/html"
      xmlns:t="http://primefaces.org/ui">

<h:body>

       <h3>Benvenuto #{userBean.name} alla pagina del partito #{partitiBean.getNomePartito(param['id'])}</h3>
      
        
    </h:body>
  <h:body>
        <h4><b>Programma:</b> #{partitiBean.getProgramma(param['id'])}</h4>
        <br /> 
        <h:link outcome="creaCandidatura.xhtml?id=#{param['id']}" value="Candidati con noi" /> <br />
        
        <br /> <br />
             <t:dataList value="#{partitiBean.getPoliticiPartito(param['id'])}" var="utente" type="ordered">
		        <f:facet name="header">
		        Ecco la lista dei politici del partito:
		        </f:facet>
		         #{utente.nome} #{utente.cognome}<hr/>
		         
		    </t:dataList>  
   </h:body>
</html>